package com.example.chatroom.entity;

import lombok.Data;
import org.springframework.stereotype.Component;
import java.lang.String;

import java.util.List;

@Component
@Data
public class GroupInfo {

    private String groupId;
    private String groupName;
    private String groupAvatarUrl;
    private List<User> members;
    public GroupInfo(){

    }

    public GroupInfo(String groupId, String groupName, String groupAvatarUrl, List<User> members) {
        super();
        this.groupId = groupId;
        this.groupName = groupName;
        this.groupAvatarUrl = groupAvatarUrl;
        this.members = members;
    }


}

